/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * LoongrayDeviceInfo
 * 朗讯device管理模块
 *
 * OpenAPI spec version: v2
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;
using JDCloudSDK.Core.Service;

using JDCloudSDK.Core.Annotation;
using Newtonsoft.Json;

namespace  JDCloudSDK.Iotcore.Apis
{

    /// <summary>
    ///  注册单个朗讯设备并返回秘钥信息
    /// </summary>
    public class AddLooDeviceRequest : JdcloudRequest
    {
        ///<summary>
        /// 用户Pin
        ///Required:true
        ///</summary>
        [Required]
        public   string UserPinParam{ get; set; }
        ///<summary>
        /// 心跳
        ///</summary>
        public   string DeviceName{ get; set; }
        ///<summary>
        /// 设备所归属的产品
        ///</summary>
        public   string ProductKey{ get; set; }
        ///<summary>
        /// 设备型号
        ///</summary>
        public   string Model{ get; set; }
        ///<summary>
        /// 厂商
        ///</summary>
        public   string Manufacturer{ get; set; }
        ///<summary>
        /// 连接码
        ///</summary>
        public   string Identifier{ get; set; }
        ///<summary>
        /// 设备名
        ///</summary>
        public   string Description{ get; set; }
        ///<summary>
        /// 设备归属的实例ID
        ///Required:true
        ///</summary>
        [Required]
        public   string InstanceId{ get; set; }
        ///<summary>
        /// 设备归属的实例所在区域
        ///Required:true
        ///</summary>
        [Required]
        [JsonProperty("regionId")]
        public   string RegionIdValue{ get; set; }
        ///<summary>
        /// 申请单编号
        ///Required:true
        ///</summary>
        [Required]
        public   string PreOrderId{ get; set; }
    }
}